package com.boluo.business.dto;

/**
 * @Author boluo
 * @Date 2023/4/14 17:09
 * @注释
 */
import com.boluo.business.domain.BusStatementItem;
import lombok.*;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@Setter
@Getter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class BusStatementDTO {
    /**
     * 结算单明细集合
     * 这里new 一个ArrayList 是防止出现空指针异常
     */
    private List<BusStatementItem> busStatementItems = new ArrayList<>();
    /**
     * 结算单id
     */
    private Long statementId;
    /**
     * 折扣金额
     */
    private BigDecimal discountAmount;
}
